package com.dupf.product.rpc.api;

import com.dupf.common.base.BaseService;
import com.dupf.product.dao.model.ProductInfo;
import com.dupf.product.dao.model.ProductInfoExample;
import com.dupf.product.dao.smodel.ProductExportParamDTO;
import com.dupf.product.dao.smodel.ProductExportResultDTO;
import net.sf.json.JSONObject;

import java.util.List;

/**
* ProductInfoService接口
* Created by dupf on 2018/3/14.
*/
public interface ProductInfoService extends BaseService<ProductInfo, ProductInfoExample> {

    String exportProduct(ProductInfoExample productInfoExample, ProductExportParamDTO paramDTO);

    List<ProductExportResultDTO> getExportProductList(ProductInfoExample productInfoExample, ProductExportParamDTO paramDTO);

    Integer createProduct(Integer userId, Integer orgId, JSONObject data);

}